package com.example.controller;


import com.alibaba.fastjson.JSONObject;
import com.example.service.MerchProviderSubmitService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class MerchProviderSubmitController {

    @Autowired()
    private MerchProviderSubmitService merchProviderSubmitService;
    /**
     *商户进件通道接口
     */
    @PostMapping("/v1/MerchProviderSubmit")
    public String MerchProviderSubmit(@RequestBody JSONObject reqJson) throws Exception {
        log.info("前端请求的参数：--------------------------------->>>{}",reqJson);
        return merchProviderSubmitService.MerchProviderSubmitService(reqJson);
    }

}
